/*
 * Project: yygh-parent
 *
 * File Created at 2023/7/16
 *
 * 自定义时间格式代替DATE标签：2023-07-16 18:26:18:26
 */
package com.atguigu.yygh.order.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import com.atguigu.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author 用户名
 * @Type ScheduleService.java
 * @Desc
 * @date 2023/7/16 18:26
 */
public interface ScheduleService {
    void saveSchedule(Map paramMap);

    Page<Schedule> selectPage(Integer page, Integer limit, ScheduleQueryVo scheduleQueryVo);

    void removeByHoscodeAndHosScheduleId(ScheduleQueryVo scheduleQueryVo);

    Map<String,Object> selectPageByHoscodeAndDepcode(Integer page, Integer limit, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);


    Schedule getById(String scheduleId);

    //根据排班id获取预约下单数据
    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    void saveSchedule(Schedule schedule);
}


/**
 * Revision history
 * -------------------------------------------------------------------------
 * <p>
 * Date Author Note
 * -------------------------------------------------------------------------
 * 2023/7/16 用户名 create
 */ 
